<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8"/>
<title>登录页面</title>
</head>
<body>
<form action="/login" method="post">
<input type="text" name="username" value="wang"/>
<input type="password" name="password" value="wang"/>
<input type="hidden" name="gotourl" th:value="${gotourl}"/>
<input type="submit" value="登录"/>
</form>
</body>
</html>